<#include "/view/templates/ace/ace-inc.ftl">
<@input url="${base}/index/personalInfoModify">
    <input type="hidden" name="id" value="${(baseUser?exists)?then(baseUser.id, '')}"/>
    <@formgroup title='登录名'>${(baseUser?exists)?then(baseUser.loginName, '')}</@formgroup>
    <@formgroup title='中文名'><input type="text" name="userName" value="${(baseUser?exists  && baseUser.userName?exists)?then(baseUser.userName, '')}" check-type='required' ></@formgroup>
    <@formgroup title='英文名'><input type="text" name="userNameEn" value="${(baseUser?exists && baseUser.userNameEn?exists )?then(baseUser.userNameEn, '')}"  ></@formgroup>
    <@formgroup title='性别'><@radiobox name="gender" value="${(baseUser?exists && baseUser.gender?exists)?then(baseUser.gender, '')}" list=Constants.USER_GENDER /></@formgroup>
    <@formgroup title='生日'><input type="text" name="birthday" class="form-control time" value="${(baseUser?exists && baseUser.birthday?exists)?then(baseUser.birthday, '')}" ></@formgroup>
    <@formgroup title='家庭电话'><input type="text" name="homePhone" value="${(baseUser?exists && baseUser.homePhone?exists)?then(baseUser.homePhone, '')}"  ></@formgroup>
    <@formgroup title='手机'><input type="text" name="mobile" value="${(baseUser?exists && baseUser.mobile?exists)?then(baseUser.mobile, '')}"  ></@formgroup>
    <@formgroup title='QQ'><input type="text" name="qq" value="${(baseUser?exists && baseUser.qq?exists )?then(baseUser.qq, '')}"  ></@formgroup>
    <@formgroup title='邮箱'><input type="text" name="email" value="${(baseUser?exists && baseUser.email?exists )?then(baseUser.email, '')}"  ></@formgroup>
    <@formgroup title='现住地址'><input type="text" name="address" value="${(baseUser?exists && baseUser.address?exists )?then(baseUser.address, '')}"  ></@formgroup>
</@input>